<#include "/common/taglibs.ftl" />
<title>Home</title>
<@security.authentication property="principal.username" />
<hr>

<@security.authorize access="hasRole('ADMIN')">
I am ADMIN
</@security.authorize>
<hr>

<@security.authorize access="isAnonymous()">
I am Anonymous
</@security.authorize>
<hr>

<@security.authorize access="hasRole('USER')">
I am USER
</@security.authorize>


<hr>


<@security.authorize access="hasAuthority('system:user:create')">
I can create <br>
</@security.authorize>
<@security.authorize access="hasAuthority('system:user:view')">
I can read <br>
</@security.authorize>
<@security.authorize access="hasAuthority('system:user:update')">
I can update <br>
</@security.authorize>
<@security.authorize access="hasAuthority('system:user:delete')">
I can delete <br>
</@security.authorize>

<@security.authorize access="hasAuthority('system:user:create') AND hasAuthority('system:user:update')">
I can create and update<br>
</@security.authorize>

<@security.authorize access="hasAuthority('system:user:create') OR hasAuthority('system:user:delete')">
I can create or delete<br>
</@security.authorize>
<hr>


<#--<@security.accesscontrollist hasPermission="1,2" domainObject="${someObject}">
    This will be shown if the user has either of the permissions
    represented by the values "1" or "2" on the given object.
</@security.accesscontrollist>-->


<page-plugin-style>
</page-plugin-style>
<page-style>
</page-style>
<page-plugin-script>
</page-plugin-script>
<page-script>
    <script>
    </script>
</page-script>


